#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :


from redis import Redis

try:
    redis_conn = Redis()
    res = redis_conn.get('name')
    print(res.decode('utf-8'))
except Exception as e:
    print('程序报错:', e)
